<table class="table table-hover m-b-none" >
    <!--table-striped-->
<thead>
<tr>
    <th width="200">订单编号</th>
    <th width="120">订单类型</th>
    <th width="180">订单状态</th>
    <th width="100">下单时间</th>
    <th width="150" >实收款</th>
    <th width="150" >支付方式</th>
    <th width="150">收货人</th>
    <th width="150">打单状态</th>
    <th width="150" >购买用户</th>
    <th width="80">操作</th>
</tr>
</thead>
<tbody>
{volist name="data.list" id="vo" }

<tr >
    <td>
        <label>
        <input type="checkbox" name="order_id" value="{$vo.order_id}" class="m-r"><span class="diy--checkbox diy--radioInput"></span> <span class="m-r"> {$vo.order_sn}</span>
    </label>
        <i class="fa row-details fa-plus-square-o list_tr_open">查看商品</i>
    </td>
    <td >
        {$orderType[$vo['order_type']]}
    </td>
    <td>{$vo.ostatus}</td>
    <td>{$vo.add_time|dateTpl}</td>
    <td >

            {$vo.order_amount|priceFormat}
           {eq name="vo.ostatus" value="待付款" }
            <a href="javascript:;" data-remote="{:url('changePrice',array('id'=>$vo['order_id']))}" data-toggle="ajaxModal" class="m-xs" >
                <i class="fa fa-edit text-muted"></i>
            </a>
            {/eq}
        <br>
        <small class="text-muted">[含运费: {$vo.shipping_fee}]</small>
    </td>
    <td>{$vo.pay_name}</td>
    <td >{$vo.consignee}</td>
    <td >{eq name="vo.print_state" value="1" }已打单{/eq}
        {eq name="vo.print_state" value="0" }未打单{/eq}
    </td>
    <td >{$vo.user_id} - {$vo.user_id|userInfo}</td>
    <td style="text-align: center;">
        <a href="{:url('info',array('order_id'=>$vo['order_id']))}" title="查看详情">
            <i class="fa fa-search "></i></a>
        {eq name="vo.ostatus" value="待发货" }
        <a href="javascript:;" data-remote="{:url('shipping',array('id'=>$vo['order_id']))}" data-toggle="ajaxModal" class="m-xs" title="发货">
            <i class="fa fa-truck text-muted"></i>
        </a>
        {/eq}
        {eq name="vo.ostatus" value="已发货" }
        <a href="{:url('printPage',array('id'=>$vo['order_id']))}" class="m-xs" title="打单" target="_blank">
                <i class="fa fa-print"></i>
        </a>
        {/eq}
    </td>
</tr>
<tr class="hide">
    <td colspan="3"  valign="top">
        <ul class="list-group no-borders" >
            {volist name="vo.goodsList" id="grow" }
            <li class="list-group-item ">
                <div class="media">
                    <span class="pull-left thumb-sm">
                        <img src="{$grow.pic}" ></span>

                    <div class="media-body">
                        <div style="color:#999;">{$grow.goods_name} {$grow.sku_name}</div>
                        <small class="text-muted">单价： {$grow.sale_price|priceFormat}<span class="m-l-xs"></span></small>
                        x {$grow.goods_number}
                    </div>
                </div>
            </li>
            {/volist}
        </ul>
    </td>
    <td colspan="6" valign="top">
        <p>收货人：{$vo.consignee}</p>
        <p>联系电话：{$vo.mobile}</p>
        <p>收货地址：{$vo.merger_name} {$vo.address}</p>
    </td>
</tr>
{/volist}
</tbody>
</table>
{empty name="data.list"}
<table width="100%" >
 	<tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}
